package com.seek.model.entity;

import java.util.Date;

/**
 * TSysUser entity. @author MyEclipse Persistence Tools
 */
@SuppressWarnings("serial")
public class TSysUser implements java.io.Serializable {
	private Long id;
	private Long companyId;
	private String userName;
	private String loginName;
	private String password;
	private String phoneNo;
	private Long roleId;
	private Integer isAuditor;
	private Integer isOverduer;
	private Date lastLoginTime;
	private String authedIp;
	private String authodMac;
	private Date reqTime;
	private String reqIp;
	private String reqMac;
	private Long agentId;
	private String remark;
	private Long createUserId;
	private Date createTime;
	private Long modifyUserId;
	private Date modifyTime;
	private Integer isUsed;
	private Integer hidePhone;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhoneNo() {
		return phoneNo;
	}
	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}
	public Long getRoleId() {
		return roleId;
	}
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	public Integer getIsAuditor() {
		return isAuditor;
	}
	public void setIsAuditor(Integer isAuditor) {
		this.isAuditor = isAuditor;
	}
	public Integer getIsOverduer() {
		return isOverduer;
	}
	public void setIsOverduer(Integer isOverduer) {
		this.isOverduer = isOverduer;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getAuthedIp() {
		return authedIp;
	}
	public void setAuthedIp(String authedIp) {
		this.authedIp = authedIp;
	}
	public String getAuthodMac() {
		return authodMac;
	}
	public void setAuthodMac(String authodMac) {
		this.authodMac = authodMac;
	}
	public Date getReqTime() {
		return reqTime;
	}
	public void setReqTime(Date reqTime) {
		this.reqTime = reqTime;
	}
	public String getReqIp() {
		return reqIp;
	}
	public void setReqIp(String reqIp) {
		this.reqIp = reqIp;
	}
	public String getReqMac() {
		return reqMac;
	}
	public void setReqMac(String reqMac) {
		this.reqMac = reqMac;
	}
	public Long getAgentId() {
		return agentId;
	}
	public void setAgentId(Long agentId) {
		this.agentId = agentId;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Long getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Long getModifyUserId() {
		return modifyUserId;
	}
	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Integer getIsUsed() {
		return isUsed;
	}
	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}
	public Integer getHidePhone() {
		if (hidePhone == null)
			hidePhone = 1;
		return hidePhone;
	}
	public void setHidePhone(Integer hidePhone) {
		this.hidePhone = hidePhone;
	}
	
}
